
/*
#include "BulletDebug.h"
#include "ReportError.h"
#include <gl\glut.h>



void BulletDebug::drawLine(const btVector3& from, const btVector3& to, const btVector3& color)
{
	glPushMatrix();
		glEnable(GL_COLOR_MATERIAL);
		glBegin(GL_LINE_LOOP);
		
		glColor3f(color.x(), color.y(), color.z());
		glVertex3f(from.x(), from.y(), from.z());
		glVertex3f(to.x(), to.y(), to.z());

		glEnd();
		glDisable(GL_COLOR_MATERIAL);
	glPopMatrix();
}

void BulletDebug::drawContactPoint(const btVector3& PointOnB, const btVector3& normalOnB, btScalar distance, int lifeTime, const btVector3& color)
{

	btVector3 const startPoint = PointOnB;
	btVector3 const endPoint = PointOnB + normalOnB * distance;

	drawLine(startPoint, endPoint, color);

}

void BulletDebug::reportErrorWarning(const char* textString)
{
	ReportError(textString);
}

void BulletDebug::draw3dText(const btVector3& location, const char* textString)
{
	
}

void BulletDebug::setDebugMode(int debugMode)
{
	//
}

int BulletDebug::getDebugMode() const
{
	return -1;
}

*/